<template>
    <div>
        <van-tabbar v-model="active" route placeholder>
            <van-tabbar-item to="/home" icon="home-o">主页</van-tabbar-item>
            <van-tabbar-item to="/car" icon="cart-o">购物车</van-tabbar-item>
            <van-tabbar-item to="/self" icon="friends-o">个人</van-tabbar-item>
        </van-tabbar>
    </div>
</template>
<script lang='ts' setup>
import { ref } from 'vue';
const active = ref(0);
</script>
<style lang="less" scoped>
// :deep(.van-tabbar__placeholder){

// }
</style>